package com.example.mall.dto.user;

import com.example.mall.dto.validator.TokenPassword;
import com.example.mall.dto.validator.UserSignUpAccountEqual;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
public class UserSignInDTO {
    @NotBlank(message = "{signup.account}")
    private String account;

    @NotBlank(message = "{signup.password}")
    @TokenPassword(min = 6, max = 11,message = "{signup.password.len}")
    private String password;
}
